package com.hsh.erp.service;

import com.hsh.erp.domain.common.Result;
import com.hsh.erp.domain.dto.ShopProductDTO;
import com.hsh.erp.domain.entity.ShopProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hsh.erp.domain.vo.ShopProductVO;

import java.util.List;

/**
* @author USER
* @description 针对表【shop_product】的数据库操作Service
* @createDate 2024-05-30 16:21:43
*/
public interface ShopProductService extends IService<ShopProduct> {
    /**
     * 列表查询
     * @param
     * @return
     */
    Result<List<ShopProductDTO>> getList(ShopProductVO shopProductVO);

    /**
     * 修改一条记录
     * @param shopProductVO
     * @return
     */
    Result updateOne(ShopProductVO shopProductVO);

    /**
     * 删除一条记录
     * @param shopProductVO
     * @return
     */
    Result deleteOne(ShopProductVO shopProductVO);

    /**
     * 新增一条记录
     * @param shopProductVO
     * @return
     */
    Result addOne(ShopProductVO shopProductVO);
}
